//
//  QJShopCarCell.h
//  QuanJieShopProject
//
//  Created by apple on 2018/2/8.
//  Copyright © 2018年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface QJShopCarCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIButton *cellSelectBtn;
@property (weak, nonatomic) IBOutlet UIImageView *cellImage;
@property (weak, nonatomic) IBOutlet UILabel *cellTitle;
@property (weak, nonatomic) IBOutlet UILabel *cellPrice;
@property (weak, nonatomic) IBOutlet UILabel *cellNumber;
@property (weak, nonatomic) IBOutlet UIButton *shopJianBtn;
@property (weak, nonatomic) IBOutlet UILabel *specification;// 规格
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *specifiWidthConstraint; // 规格宽度

//商品数量修改block
@property (nonatomic, copy) void(^shopNumberChangeBlock)(ShopCarModel *model);
//商品选中block
@property (nonatomic, copy) void(^shopSelectOrNotBlock)(ShopCarModel *model);

- (void)cellUpdateWithModel:(ShopCarModel *)model;
@property (nonatomic, strong) ShopCarModel *model;
@property (nonatomic, strong) NSString *changeNum;

// 是否选中了
@property (nonatomic, assign) BOOL isSelect;

@end
